package com.sleep.psy.external_server.business.main.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 分销关系表
 * </p>
 *
 * @author wenliguo
 * @since 2025-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MainDistributer implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("分销等级配置表主键id")
    private Integer proGoodsDistributerId;

    @ApiModelProperty("预备上级分销员id")
    private Long prepareAccountId;

    @ApiModelProperty("实际绑定上级分销员id")
    private Long realAccountId;

    @ApiModelProperty("是否后台手动添加：1：是；2：否")
    private Integer isBackendAdd;

    @ApiModelProperty("后台添加人id")
    private Long backendAddId;

    @ApiModelProperty("是否后台手动升级分销员等级：1：是；2：否；")
    private Integer isBackendUpgrade;

    @ApiModelProperty("升级时间")
    private String upgradeTime;

    @ApiModelProperty("后台手动升级人id")
    private Long backendUpgradeId;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("更新时间")
    private String updateTime;


}
